home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / prolog / ai.prl / opnprlg1.hqx / Open Prolog / Open Prolog.rsrc / CODE_13_SystemSevenStuff.txt < prev    next >
Text File  |  1993-04-15  |  29KB  |  527 lines

  1. # near model CODE resource
  2. # entry label at 0x0000
  3. entry:
  4. fn00000000:
  5. 00000000  4E56 FFEE                link       A6, -0x0012
  6. 00000004  2F07                     move.l     -[A7], D7
  7. 00000006  206E 0008                movea.l    A0, [A6 + 0x8]
  8. 0000000A  43EE FFF8                lea.l      A1, [A6 - 0x8]
  9. 0000000E  22D8                     move.l     [A1]+, [A0]+
  10. 00000010  22D8                     move.l     [A1]+, [A0]+
  11. 00000012  4267                     clr.w      -[A7]
  12. 00000014  486E FFF8                pea.l      [A6 - 0x8]
  13. 00000018  2F3C 6D69 7373           move.l     -[A7], 0x6D697373 /* 'miss' */
  14. 0000001E  2F3C 2A2A 2A2A           move.l     -[A7], 0x2A2A2A2A /* '****' */
  15. 00000024  486E FFF4                pea.l      [A6 - 0xC]
  16. 00000028  42A7                     clr.l      -[A7]
  17. 0000002A  42A7                     clr.l      -[A7]
  18. 0000002C  486E FFF0                pea.l      [A6 - 0x10]
  19. 00000030  303C 0E15                move.w     D0, 0xE15
  20. 00000034  A816                     trap       Pack8
  21. 00000036  3E1F                     move.w     D7, [A7]+
  22. 00000038  0C47 F95B                cmpi.w     D7, 0xF95B
  23. 0000003C  6606                     bne        +0x8 /* 00000044 */
  24. 0000003E  426E 000C                clr.w      [A6 + 0xC]
  25. 00000042  6010                     bra        +0x12 /* 00000054 */
  26. label00000044:
  27. 00000044  4A47                     tst.w      D7
  28. 00000046  6608                     bne        +0xA /* 00000050 */
  29. 00000048  3D7C F954 000C           move.w     [A6 + 0xC], 0xF954
  30. 0000004E  6004                     bra        +0x6 /* 00000054 */
  31. label00000050:
  32. 00000050  3D47 000C                move.w     [A6 + 0xC], D7
  33. label00000054:
  34. 00000054  2E1F                     move.l     D7, [A7]+
  35. 00000056  4E5E                     unlink     A6
  36. 00000058  2E9F                     move.l     [A7], [A7]+
  37. 0000005A  4E75                     rts
  38. 0000005C  934D                     subx.w     -[A1], -[A5]
  39. 0000005E  5947                     subq.w     D7, 4
  40. 00000060  4F54                     chk.w      D7, [A4]
  41. 00000062  5245                     addq.w     D5, 1
  42. 00000064  5155                     subq.w     [A5], 8
  43. 00000066  4952                     chk.w      D4, [A2]
  44. 00000068  4544                     chk.w      D2, D4
  45. 0000006A  5041                     addq.w     D1, 8
  46. 0000006C  5241                     addq.w     D1, 1
  47. 0000006E  4D53                     chk.w      D6, [A3]
  48. 00000070  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  49. 00000074  FFEE                     .extension 0xFEE // unimplemented
  50. 00000076  2F07                     move.l     -[A7], D7
  51. 00000078  206E 0010                movea.l    A0, [A6 + 0x10]
  52. 0000007C  43EE FFF8                lea.l      A1, [A6 - 0x8]
  53. 00000080  22D8                     move.l     [A1]+, [A0]+
  54. 00000082  22D8                     move.l     [A1]+, [A0]+
  55. 00000084  206E 000C                movea.l    A0, [A6 + 0xC]
  56. 00000088  43EE FFF0                lea.l      A1, [A6 - 0x10]
  57. 0000008C  22D8                     move.l     [A1]+, [A0]+
  58. 0000008E  22D8                     move.l     [A1]+, [A0]+
  59. 00000090  4247                     clr.w      D7
  60. 00000092  4267                     clr.w      -[A7]
  61. 00000094  4EAD 09E2                jsr        [A5 + 0x9E2]
  62. 00000098  3B5F EE5A                move.w     [A5 - 0x11A6], [A7]+
  63. 0000009C  4267                     clr.w      -[A7]
  64. 0000009E  4EAD 0AEA                jsr        [A5 + 0xAEA]
  65. 000000A2  1B5F EE65                move.b     [A5 - 0x119B], [A7]+
  66. 000000A6  102D EE65                move.b     D0, [A5 - 0x119B]
  67. 000000AA  660A                     bne        +0xC /* 000000B6 */
  68. 000000AC  3F3C 002A                move.w     -[A7], 0x2A /* '*' */
  69. 000000B0  4EAD 04FA                jsr        [A5 + 0x4FA]
  70. 000000B4  7EDA                     moveq.l    D7, 0xFFFFFFDA
  71. label000000B6:
  72. 000000B6  4A47                     tst.w      D7
  73. 000000B8  6614                     bne        +0x16 /* 000000CE */
  74. 000000BA  4267                     clr.w      -[A7]
  75. 000000BC  486E FFF8                pea.l      [A6 - 0x8]
  76. 000000C0  4EBA FF3E                jsr        [PC - 0xC2 /* 00000000 */]
  77. 000000C4  301F                     move.w     D0, [A7]+
  78. 000000C6  48C0                     ext.l      D0
  79. 000000C8  2D40 0014                move.l     [A6 + 0x14], D0
  80. 000000CC  6008                     bra        +0xA /* 000000D6 */
  81. label000000CE:
  82. 000000CE  3007                     move.w     D0, D7
  83. 000000D0  48C0                     ext.l      D0
  84. 000000D2  2D40 0014                move.l     [A6 + 0x14], D0
  85. label000000D6:
  86. 000000D6  2E1F                     move.l     D7, [A7]+
  87. 000000D8  4E5E                     unlink     A6
  88. 000000DA  205F                     movea.l    A0, [A7]+
  89. 000000DC  DEFC 000C                add.w      A7, 0xC
  90. 000000E0  4ED0                     jmp        [A0]
  91. 000000E2  8C4D                     or.w       D6, A5
  92. 000000E4  5948                     subq.w     A0, 4
  93. 000000E6  414E                     chk.w      D0, A6
  94. 000000E8  444C                     neg.w      A4
  95. 000000EA  454F                     chk.w      D2, A7
  96. 000000EC  4150                     chk.w      D0, [A0]
  97. 000000EE  5000                     addq.b     D0, 8
  98. 000000F0  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  99. 000000F4  FFEE                     .extension 0xFEE // unimplemented
  100. 000000F6  2F07                     move.l     -[A7], D7
  101. 000000F8  206E 0010                movea.l    A0, [A6 + 0x10]
  102. 000000FC  43EE FFF8                lea.l      A1, [A6 - 0x8]
  103. 00000100  22D8                     move.l     [A1]+, [A0]+
  104. 00000102  22D8                     move.l     [A1]+, [A0]+
  105. 00000104  206E 000C                movea.l    A0, [A6 + 0xC]
  106. 00000108  43EE FFF0                lea.l      A1, [A6 - 0x10]
  107. 0000010C  22D8                     move.l     [A1]+, [A0]+
  108. 0000010E  22D8                     move.l     [A1]+, [A0]+
  109. 00000110  4267                     clr.w      -[A7]
  110. 00000112  486E FFF8                pea.l      [A6 - 0x8]
  111. 00000116  4EBA FEE8                jsr        [PC - 0x118 /* 00000000 */]
  112. 0000011A  3E1F                     move.w     D7, [A7]+
  113. 0000011C  670A                     beq        +0xC /* 00000128 */
  114. 0000011E  3007                     move.w     D0, D7
  115. 00000120  48C0                     ext.l      D0
  116. 00000122  2D40 0014                move.l     [A6 + 0x14], D0
  117. 00000126  6024                     bra        +0x26 /* 0000014C */
  118. label00000128:
  119. 00000128  42A7                     clr.l      -[A7]
  120. 0000012A  42A7                     clr.l      -[A7]
  121. 0000012C  A924                     trap       FrontWindow
  122. 0000012E  4EAD 0A7A                jsr        [A5 + 0xA7A]
  123. 00000132  2B5F EE66                move.l     [A5 - 0x119A], [A7]+
  124. 00000136  7001                     moveq.l    D0, 0x01
  125. 00000138  B0AD EE66                cmp.l      D0, [A5 - 0x119A]
  126. 0000013C  6608                     bne        +0xA /* 00000146 */
  127. 0000013E  7000                     moveq.l    D0, 0x00
  128. 00000140  2D40 0014                move.l     [A6 + 0x14], D0
  129. 00000144  6006                     bra        +0x8 /* 0000014C */
  130. label00000146:
  131. 00000146  7080                     moveq.l    D0, 0xFFFFFF80
  132. 00000148  2D40 0014                move.l     [A6 + 0x14], D0
  133. label0000014C:
  134. 0000014C  2E1F                     move.l     D7, [A7]+
  135. 0000014E  4E5E                     unlink     A6
  136. 00000150  205F                     movea.l    A0, [A7]+
  137. 00000152  DEFC 000C                add.w      A7, 0xC
  138. 00000156  4ED0                     jmp        [A0]
  139. 00000158  8C4D                     or.w       D6, A5
  140. 0000015A  5948                     subq.w     A0, 4
  141. 0000015C  414E                     chk.w      D0, A6
  142. 0000015E  444C                     neg.w      A4
  143. 00000160  4551                     chk.w      D2, [A1]
  144. 00000162  5549                     subq.w     A1, 2
  145. 00000164  5400                     addq.b     D0, 2
  146. 00000166  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  147. 0000016A  FF78                     .extension 0xF78 // unimplemented
  148. 0000016C  48E7 0718                movem.l    -[A7], D5,D6,D7,A3,A4
  149. 00000170  206E 0010                movea.l    A0, [A6 + 0x10]
  150. 00000174  43EE FFF8                lea.l      A1, [A6 - 0x8]
  151. 00000178  22D8                     move.l     [A1]+, [A0]+
  152. 0000017A  22D8                     move.l     [A1]+, [A0]+
  153. 0000017C  206E 000C                movea.l    A0, [A6 + 0xC]
  154. 00000180  43EE FFF0                lea.l      A1, [A6 - 0x10]
  155. 00000184  22D8                     move.l     [A1]+, [A0]+
  156. 00000186  22D8                     move.l     [A1]+, [A0]+
  157. 00000188  4267                     clr.w      -[A7]
  158. 0000018A  486E FFF8                pea.l      [A6 - 0x8]
  159. 0000018E  2F3C 2D2D 2D2D           move.l     -[A7], 0x2D2D2D2D /* '----' */
  160. 00000194  2F3C 6C69 7374           move.l     -[A7], 0x6C697374 /* 'list' */
  161. 0000019A  486E FFA0                pea.l      [A6 - 0x60]
  162. 0000019E  303C 0812                move.w     D0, 0x812
  163. 000001A2  A816                     trap       Pack8
  164. 000001A4  3E1F                     move.w     D7, [A7]+
  165. 000001A6  6600 0120                bne        +0x122 /* 000002C8 */
  166. 000001AA  4267                     clr.w      -[A7]
  167. 000001AC  486E FFF8                pea.l      [A6 - 0x8]
  168. 000001B0  4EBA FE4E                jsr        [PC - 0x1B2 /* 00000000 */]
  169. 000001B4  3E1F                     move.w     D7, [A7]+
  170. 000001B6  6600 0110                bne        +0x112 /* 000002C8 */
  171. 000001BA  4267                     clr.w      -[A7]
  172. 000001BC  486E FFA0                pea.l      [A6 - 0x60]
  173. 000001C0  486E FF9C                pea.l      [A6 - 0x64]
  174. 000001C4  303C 0407                move.w     D0, 0x407
  175. 000001C8  A816                     trap       Pack8
  176. 000001CA  3E1F                     move.w     D7, [A7]+
  177. 000001CC  2D6E FF9C FF78           move.l     [A6 - 0x88], [A6 - 0x64]
  178. 000001D2  7A01                     moveq.l    D5, 0x01
  179. 000001D4  6000 00EA                bra        +0xEC /* 000002C0 */
  180. label000001D8:
  181. 000001D8  4246                     clr.w      D6
  182. 000001DA  7000                     moveq.l    D0, 0x00
  183. 000001DC  2D40 FF84                move.l     [A6 - 0x7C], D0
  184. 000001E0  4A47                     tst.w      D7
  185. 000001E2  662A                     bne        +0x2C /* 0000020E */
  186. 000001E4  4267                     clr.w      -[A7]
  187. 000001E6  486E FFA0                pea.l      [A6 - 0x60]
  188. 000001EA  2F05                     move.l     -[A7], D5
  189. 000001EC  2F3C 6673 7320           move.l     -[A7], 0x66737320 /* 'fss ' */
  190. 000001F2  486E FF90                pea.l      [A6 - 0x70]
  191. 000001F6  486E FF8C                pea.l      [A6 - 0x74]
  192. 000001FA  486E FFA8                pea.l      [A6 - 0x58]
  193. 000001FE  7046                     moveq.l    D0, 0x46
  194. 00000200  2F00                     move.l     -[A7], D0
  195. 00000202  486E FF94                pea.l      [A6 - 0x6C]
  196. 00000206  303C 100A                move.w     D0, 0x100A
  197. 0000020A  A816                     trap       Pack8
  198. 0000020C  3E1F                     move.w     D7, [A7]+
  199. label0000020E:
  200. 0000020E  4A47                     tst.w      D7
  201. 00000210  6600 00AA                bne        +0xAC /* 000002BC */
  202. 00000214  4267                     clr.w      -[A7]
  203. 00000216  3F2E FFA8                move.w     -[A7], [A6 - 0x58]
  204. 0000021A  2F2E FFAA                move.l     -[A7], [A6 - 0x56]
  205. 0000021E  42A7                     clr.l      -[A7]
  206. 00000220  486E FF8A                pea.l      [A6 - 0x76]
  207. 00000224  4EAD 0412                jsr        [A5 + 0x412]
  208. 00000228  3E1F                     move.w     D7, [A7]+
  209. 0000022A  6662                     bne        +0x64 /* 0000028E */
  210. 0000022C  102D EE65                move.b     D0, [A5 - 0x119B]
  211. 00000230  0A00 0001                xori.b     D0, 0x1
  212. 00000234  7201                     moveq.l    D1, 0x01
  213. 00000236  B285                     cmp.l      D1, D5
  214. 00000238  57C1                     seq        D1
  215. 0000023A  C001                     and.b      D0, D1
  216. 0000023C  6720                     beq        +0x22 /* 0000025E */
  217. 0000023E  3B6E FF8A EE5A           move.w     [A5 - 0x11A6], [A6 - 0x76]
  218. 00000244  4267                     clr.w      -[A7]
  219. 00000246  4EAD 0AEA                jsr        [A5 + 0xAEA]
  220. 0000024A  1B5F EE65                move.b     [A5 - 0x119B], [A7]+
  221. 0000024E  102D EE65                move.b     D0, [A5 - 0x119B]
  222. 00000252  660A                     bne        +0xC /* 0000025E */
  223. 00000254  3F3C 002A                move.w     -[A7], 0x2A /* '*' */
  224. 00000258  4EAD 04FA                jsr        [A5 + 0x4FA]
  225. 0000025C  7EDA                     moveq.l    D7, 0xFFFFFFDA
  226. label0000025E:
  227. 0000025E  4A47                     tst.w      D7
  228. 00000260  662C                     bne        +0x2E /* 0000028E */
  229. 00000262  4267                     clr.w      -[A7]
  230. 00000264  41EE FFAE                lea.l      A0, [A6 - 0x52]
  231. 00000268  1F10                     move.b     -[A7], [A0]
  232. 0000026A  3F3C 00FF                move.w     -[A7], 0xFF
  233. 0000026E  4EAD 0F22                jsr        [A5 + 0xF22]
  234. 00000272  2F08                     move.l     -[A7], A0
  235. 00000274  3F2E FF8A                move.w     -[A7], [A6 - 0x76]
  236. 00000278  486E FF84                pea.l      [A6 - 0x7C]
  237. 0000027C  4EAD 0AE2                jsr        [A5 + 0xAE2]
  238. 00000280  3C1F                     move.w     D6, [A7]+
  239. 00000282  70D0                     moveq.l    D0, 0xFFFFFFD0
  240. 00000284  B046                     cmp.w      D0, D6
  241. 00000286  6606                     bne        +0x8 /* 0000028E */
  242. 00000288  2F2E FF84                move.l     -[A7], [A6 - 0x7C]
  243. 0000028C  A91F                     trap       SelectWindow
  244. label0000028E:
  245. 0000028E  4A47                     tst.w      D7
  246. 00000290  57C0                     seq        D0
  247. 00000292  72D0                     moveq.l    D1, 0xFFFFFFD0
  248. 00000294  B246                     cmp.w      D1, D6
  249. 00000296  56C1                     sne        D1
  250. 00000298  C001                     and.b      D0, D1
  251. 0000029A  6702                     beq        +0x4 /* 0000029E */
  252. 0000029C  3E06                     move.w     D7, D6
  253. label0000029E:
  254. 0000029E  4A47                     tst.w      D7
  255. 000002A0  661A                     bne        +0x1C /* 000002BC */
  256. 000002A2  287C 0000 0214           movea.l    A4, 0x214
  257. 000002A8  267C 0000 0398           movea.l    A3, 0x398
  258. 000002AE  302E FFA8                move.w     D0, [A6 - 0x58]
  259. 000002B2  4440                     neg.w      D0
  260. 000002B4  4E76                     trapv
  261. 000002B6  3880                     move.w     [A4], D0
  262. 000002B8  26AE FFAA                move.l     [A3], [A6 - 0x56]
  263. label000002BC:
  264. 000002BC  5285                     addq.l     D5, 1
  265. 000002BE  6908                     bvs        +0xA /* 000002C8 */
  266. label000002C0:
  267. 000002C0  BAAE FF78                cmp.l      D5, [A6 - 0x88]
  268. 000002C4  6F00 FF12                ble        -0xEC /* 000001D8 */
  269. label000002C8:
  270. 000002C8  4267                     clr.w      -[A7]
  271. 000002CA  486E FFA0                pea.l      [A6 - 0x60]
  272. 000002CE  303C 0204                move.w     D0, 0x204
  273. 000002D2  A816                     trap       Pack8
  274. 000002D4  3C1F                     move.w     D6, [A7]+
  275. 000002D6  4A47                     tst.w      D7
  276. 000002D8  6602                     bne        +0x4 /* 000002DC */
  277. 000002DA  3E06                     move.w     D7, D6
  278. label000002DC:
  279. 000002DC  3007                     move.w     D0, D7
  280. 000002DE  48C0                     ext.l      D0
  281. 000002E0  2D40 0014                move.l     [A6 + 0x14], D0
  282. 000002E4  4CDF 18E0                movem.l    A4,A3,D7,D6,D5, [A7]+
  283. 000002E8  4E5E                     unlink     A6
  284. 000002EA  205F                     movea.l    A0, [A7]+
  285. 000002EC  DEFC 000C                add.w      A7, 0xC
  286. 000002F0  4ED0                     jmp        [A0]
  287. 000002F2  8C4D                     or.w       D6, A5
  288. 000002F4  5948                     subq.w     A0, 4
  289. 000002F6  414E                     chk.w      D0, A6
  290. 000002F8  444C                     neg.w      A4
  291. 000002FA  454F                     chk.w      D2, A7
  292. 000002FC  444F                     neg.w      A7
  293. 000002FE  4300                     .invalid   1, D0 // invalid opcode 4 with b == 4
  294. 00000300  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  295. 00000304  FF80                     .extension 0xF80 // unimplemented
  296. 00000306  48E7 0700                movem.l    -[A7], D5,D6,D7
  297. 0000030A  206E 0010                movea.l    A0, [A6 + 0x10]
  298. 0000030E  43EE FFF8                lea.l      A1, [A6 - 0x8]
  299. 00000312  22D8                     move.l     [A1]+, [A0]+
  300. 00000314  22D8                     move.l     [A1]+, [A0]+
  301. 00000316  206E 000C                movea.l    A0, [A6 + 0xC]
  302. 0000031A  43EE FFF0                lea.l      A1, [A6 - 0x10]
  303. 0000031E  22D8                     move.l     [A1]+, [A0]+
  304. 00000320  22D8                     move.l     [A1]+, [A0]+
  305. 00000322  4267                     clr.w      -[A7]
  306. 00000324  486E FFF8                pea.l      [A6 - 0x8]
  307. 00000328  2F3C 2D2D 2D2D           move.l     -[A7], 0x2D2D2D2D /* '----' */
  308. 0000032E  2F3C 6C69 7374           move.l     -[A7], 0x6C697374 /* 'list' */
  309. 00000334  486E FFA0                pea.l      [A6 - 0x60]
  310. 00000338  303C 0812                move.w     D0, 0x812
  311. 0000033C  A816                     trap       Pack8
  312. 0000033E  3E1F                     move.w     D7, [A7]+
  313. 00000340  6600 0124                bne        +0x126 /* 00000466 */
  314. 00000344  4267                     clr.w      -[A7]
  315. 00000346  486E FFF8                pea.l      [A6 - 0x8]
  316. 0000034A  4EBA FCB4                jsr        [PC - 0x34C /* 00000000 */]
  317. 0000034E  3E1F                     move.w     D7, [A7]+
  318. 00000350  6600 0114                bne        +0x116 /* 00000466 */
  319. 00000354  4267                     clr.w      -[A7]
  320. 00000356  486E FFA0                pea.l      [A6 - 0x60]
  321. 0000035A  486E FF9C                pea.l      [A6 - 0x64]
  322. 0000035E  303C 0407                move.w     D0, 0x407
  323. 00000362  A816                     trap       Pack8
  324. 00000364  3E1F                     move.w     D7, [A7]+
  325. 00000366  2D6E FF9C FF80           move.l     [A6 - 0x80], [A6 - 0x64]
  326. 0000036C  7A01                     moveq.l    D5, 0x01
  327. 0000036E  6000 00EE                bra        +0xF0 /* 0000045E */
  328. label00000372:
  329. 00000372  4246                     clr.w      D6
  330. 00000374  7000                     moveq.l    D0, 0x00
  331. 00000376  2D40 FF84                move.l     [A6 - 0x7C], D0
  332. 0000037A  4A47                     tst.w      D7
  333. 0000037C  6614                     bne        +0x16 /* 00000392 */
  334. 0000037E  4267                     clr.w      -[A7]
  335. 00000380  2F3C 0000 0258           move.l     -[A7], 0x258
  336. 00000386  42A7                     clr.l      -[A7]
  337. 00000388  42A7                     clr.l      -[A7]
  338. 0000038A  303C 061C                move.w     D0, 0x61C
  339. 0000038E  A816                     trap       Pack8
  340. 00000390  3E1F                     move.w     D7, [A7]+
  341. label00000392:
  342. 00000392  4A47                     tst.w      D7
  343. 00000394  662A                     bne        +0x2C /* 000003C0 */
  344. 00000396  4267                     clr.w      -[A7]
  345. 00000398  486E FFA0                pea.l      [A6 - 0x60]
  346. 0000039C  2F05                     move.l     -[A7], D5
  347. 0000039E  2F3C 6673 7320           move.l     -[A7], 0x66737320 /* 'fss ' */
  348. 000003A4  486E FF90                pea.l      [A6 - 0x70]
  349. 000003A8  486E FF8C                pea.l      [A6 - 0x74]
  350. 000003AC  486E FFA8                pea.l      [A6 - 0x58]
  351. 000003B0  7046                     moveq.l    D0, 0x46
  352. 000003B2  2F00                     move.l     -[A7], D0
  353. 000003B4  486E FF94                pea.l      [A6 - 0x6C]
  354. 000003B8  303C 100A                move.w     D0, 0x100A
  355. 000003BC  A816                     trap       Pack8
  356. 000003BE  3E1F                     move.w     D7, [A7]+
  357. label000003C0:
  358. 000003C0  4A47                     tst.w      D7
  359. 000003C2  6600 0096                bne        +0x98 /* 0000045A */
  360. 000003C6  4267                     clr.w      -[A7]
  361. 000003C8  3F2E FFA8                move.w     -[A7], [A6 - 0x58]
  362. 000003CC  2F2E FFAA                move.l     -[A7], [A6 - 0x56]
  363. 000003D0  42A7                     clr.l      -[A7]
  364. 000003D2  486E FF8A                pea.l      [A6 - 0x76]
  365. 000003D6  4EAD 0412                jsr        [A5 + 0x412]
  366. 000003DA  3E1F                     move.w     D7, [A7]+
  367. 000003DC  666C                     bne        +0x6E /* 0000044A */
  368. 000003DE  4267                     clr.w      -[A7]
  369. 000003E0  41EE FFAE                lea.l      A0, [A6 - 0x52]
  370. 000003E4  1F10                     move.b     -[A7], [A0]
  371. 000003E6  3F3C 00FF                move.w     -[A7], 0xFF
  372. 000003EA  4EAD 0F22                jsr        [A5 + 0xF22]
  373. 000003EE  2F08                     move.l     -[A7], A0
  374. 000003F0  3F2E FF8A                move.w     -[A7], [A6 - 0x76]
  375. 000003F4  486E FF84                pea.l      [A6 - 0x7C]
  376. 000003F8  4EAD 0AE2                jsr        [A5 + 0xAE2]
  377. 000003FC  3C1F                     move.w     D6, [A7]+
  378. 000003FE  70D0                     moveq.l    D0, 0xFFFFFFD0
  379. 00000400  B046                     cmp.w      D0, D6
  380. 00000402  6606                     bne        +0x8 /* 0000040A */
  381. 00000404  2F2E FF84                move.l     -[A7], [A6 - 0x7C]
  382. 00000408  A91F                     trap       SelectWindow
  383. label0000040A:
  384. 0000040A  4A46                     tst.w      D6
  385. 0000040C  57C0                     seq        D0
  386. 0000040E  72D0                     moveq.l    D1, 0xFFFFFFD0
  387. 00000410  B246                     cmp.w      D1, D6
  388. 00000412  57C1                     seq        D1
  389. 00000414  8001                     or.b       D0, D1
  390. 00000416  6732                     beq        +0x34 /* 0000044A */
  391. 00000418  4EAD 0BE2                jsr        [A5 + 0xBE2]
  392. 0000041C  2F2E FF84                move.l     -[A7], [A6 - 0x7C]
  393. 00000420  4267                     clr.w      -[A7]
  394. 00000422  4EAD 0C1A                jsr        [A5 + 0xC1A]
  395. 00000426  4EAD 0BE2                jsr        [A5 + 0xBE2]
  396. 0000042A  2F2E FF84                move.l     -[A7], [A6 - 0x7C]
  397. 0000042E  3F3C 0002                move.w     -[A7], 0x2
  398. 00000432  4EAD 0C1A                jsr        [A5 + 0xC1A]
  399. 00000436  4EAD 0BE2                jsr        [A5 + 0xBE2]
  400. 0000043A  4A46                     tst.w      D6
  401. 0000043C  660C                     bne        +0xE /* 0000044A */
  402. 0000043E  2F2E FF84                move.l     -[A7], [A6 - 0x7C]
  403. 00000442  3F3C 0005                move.w     -[A7], 0x5
  404. 00000446  4EAD 09F2                jsr        [A5 + 0x9F2]
  405. label0000044A:
  406. 0000044A  4A47                     tst.w      D7
  407. 0000044C  57C0                     seq        D0
  408. 0000044E  72D0                     moveq.l    D1, 0xFFFFFFD0
  409. 00000450  B246                     cmp.w      D1, D6
  410. 00000452  56C1                     sne        D1
  411. 00000454  C001                     and.b      D0, D1
  412. 00000456  6702                     beq        +0x4 /* 0000045A */
  413. 00000458  3E06                     move.w     D7, D6
  414. label0000045A:
  415. 0000045A  5285                     addq.l     D5, 1
  416. 0000045C  6908                     bvs        +0xA /* 00000466 */
  417. label0000045E:
  418. 0000045E  BAAE FF80                cmp.l      D5, [A6 - 0x80]
  419. 00000462  6F00 FF0E                ble        -0xF0 /* 00000372 */
  420. label00000466:
  421. 00000466  4267                     clr.w      -[A7]
  422. 00000468  486E FFA0                pea.l      [A6 - 0x60]
  423. 0000046C  303C 0204                move.w     D0, 0x204
  424. 00000470  A816                     trap       Pack8
  425. 00000472  3C1F                     move.w     D6, [A7]+
  426. 00000474  4A47                     tst.w      D7
  427. 00000476  6602                     bne        +0x4 /* 0000047A */
  428. 00000478  3E06                     move.w     D7, D6
  429. label0000047A:
  430. 0000047A  3007                     move.w     D0, D7
  431. 0000047C  48C0                     ext.l      D0
  432. 0000047E  2D40 0014                move.l     [A6 + 0x14], D0
  433. 00000482  4CDF 00E0                movem.l    D7,D6,D5, [A7]+
  434. 00000486  4E5E                     unlink     A6
  435. 00000488  205F                     movea.l    A0, [A7]+
  436. 0000048A  DEFC 000C                add.w      A7, 0xC
  437. 0000048E  4ED0                     jmp        [A0]
  438. 00000490  8C4D                     or.w       D6, A5
  439. 00000492  5948                     subq.w     A0, 4
  440. 00000494  414E                     chk.w      D0, A6
  441. 00000496  444C                     neg.w      A4
  442. 00000498  4550                     chk.w      D2, [A0]
  443. 0000049A  444F                     neg.w      A7
  444. 0000049C  4300                     .invalid   1, D0 // invalid opcode 4 with b == 4
  445. 0000049E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  446. export_348: // at 000004A0 (misaligned)
  447. 000004A2  FFEE                     .extension 0xFEE // unimplemented
  448. 000004A4  206E 0008                movea.l    A0, [A6 + 0x8]
  449. 000004A8  43EE FFF0                lea.l      A1, [A6 - 0x10]
  450. 000004AC  22D8                     move.l     [A1]+, [A0]+
  451. 000004AE  22D8                     move.l     [A1]+, [A0]+
  452. 000004B0  22D8                     move.l     [A1]+, [A0]+
  453. 000004B2  22D8                     move.l     [A1]+, [A0]+
  454. 000004B4  7000                     moveq.l    D0, 0x00
  455. 000004B6  2B40 EE66                move.l     [A5 - 0x119A], D0
  456. 000004BA  4267                     clr.w      -[A7]
  457. 000004BC  486E FFF0                pea.l      [A6 - 0x10]
  458. 000004C0  303C 021B                move.w     D0, 0x21B
  459. 000004C4  A816                     trap       Pack8
  460. 000004C6  3D5F FFEE                move.w     [A6 - 0x12], [A7]+
  461. 000004CA  2D6D EE66 000C           move.l     [A6 + 0xC], [A5 - 0x119A]
  462. 000004D0  4E5E                     unlink     A6
  463. 000004D2  2E9F                     move.l     [A7], [A7]+
  464. 000004D4  4E75                     rts
  465. 000004D6  9044                     sub.w      D0, D4
  466. 000004D8  4F48                     chk.w      D7, A0
  467. 000004DA  4947                     chk.w      D4, D7
  468. 000004DC  484C                     pea.l      A4
  469. 000004DE  4556                     chk.w      D2, [A6]
  470. 000004E0  454C                     chk.w      D2, A4
  471. 000004E2  4556                     chk.w      D2, [A6]
  472. 000004E4  454E                     chk.w      D2, A6
  473. 000004E6  5400                     addq.b     D0, 2
  474. 000004E8  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  475. export_349: // at 000004EA (misaligned)
  476. 000004EC  FFFE                     .extension 0xFFE // unimplemented
  477. 000004EE  2F07                     move.l     -[A7], D7
  478. 000004F0  422D EE65                clr.b      [A5 - 0x119B]
  479. 000004F4  0C6D 0700 FDBE           cmpi.w     [A5 - 0x242], 0x700
  480. 000004FA  6D78                     blt        +0x7A /* 00000574 */
  481. 000004FC  4267                     clr.w      -[A7]
  482. 000004FE  2F3C 6165 7674           move.l     -[A7], 0x61657674 /* 'aevt' */
  483. 00000504  2F3C 6F61 7070           move.l     -[A7], 0x6F617070 /* 'oapp' */
  484. 0000050A  487A FB66                pea.l      [PC - 0x49A /* 00000072 */]
  485. 0000050E  42A7                     clr.l      -[A7]
  486. 00000510  4267                     clr.w      -[A7]
  487. 00000512  303C 091F                move.w     D0, 0x91F
  488. 00000516  A816                     trap       Pack8
  489. 00000518  3E1F                     move.w     D7, [A7]+
  490. 0000051A  4267                     clr.w      -[A7]
  491. 0000051C  2F3C 6165 7674           move.l     -[A7], 0x61657674 /* 'aevt' */
  492. 00000522  2F3C 7064 6F63           move.l     -[A7], 0x70646F63 /* 'pdoc' */
  493. 00000528  487A FDD8                pea.l      [PC - 0x228 /* 00000302 */]
  494. 0000052C  42A7                     clr.l      -[A7]
  495. 0000052E  4267                     clr.w      -[A7]
  496. 00000530  303C 091F                move.w     D0, 0x91F
  497. 00000534  A816                     trap       Pack8
  498. 00000536  3E1F                     move.w     D7, [A7]+
  499. 00000538  4267                     clr.w      -[A7]
  500. 0000053A  2F3C 6165 7674           move.l     -[A7], 0x61657674 /* 'aevt' */
  501. 00000540  2F3C 6F64 6F63           move.l     -[A7], 0x6F646F63 /* 'odoc' */
  502. 00000546  487A FC20                pea.l      [PC - 0x3E0 /* 00000168 */]
  503. 0000054A  42A7                     clr.l      -[A7]
  504. 0000054C  4267                     clr.w      -[A7]
  505. 0000054E  303C 091F                move.w     D0, 0x91F
  506. 00000552  A816                     trap       Pack8
  507. 00000554  3E1F                     move.w     D7, [A7]+
  508. 00000556  4267                     clr.w      -[A7]
  509. 00000558  2F3C 6165 7674           move.l     -[A7], 0x61657674 /* 'aevt' */
  510. 0000055E  2F3C 7175 6974           move.l     -[A7], 0x71756974 /* 'quit' */
  511. 00000564  487A FB8C                pea.l      [PC - 0x474 /* 000000F2 */]
  512. 00000568  42A7                     clr.l      -[A7]
  513. 0000056A  4267                     clr.w      -[A7]
  514. 0000056C  303C 091F                move.w     D0, 0x91F
  515. 00000570  A816                     trap       Pack8
  516. 00000572  3E1F                     move.w     D7, [A7]+
  517. label00000574:
  518. 00000574  2E1F                     move.l     D7, [A7]+
  519. 00000576  4E5E                     unlink     A6
  520. 00000578  4E75                     rts
  521. 0000057A  8B53                     or.w       [A3], D5
  522. 0000057C  5953                     subq.w     [A3], 4
  523. 0000057E  5445                     addq.w     D5, 2
  524. 00000580  4D37 494E                .invalid   6, <<invalid full ext with IS == 1 and I/IS == 6>> // invalid opcode 4 with b == 4
  525. 00000584  4954                     chk.w      D4, [A4]
  526. 00000586  0000                     .incomplete
  527.